import request from '@/util/request'

// list
export function list(data) {
  return request({
    url: '/api/comment/list',
    method: 'post',
    data
  })
}

// check
export function check(data) {
  return request({
    url: '/api/comment/check',
    method: 'post',
    data
  })
}

// save
export function save(data) {
  return request({
    url: '/api/comment/save',
    method: 'post',
    data
  })
}

// del
export function del(data) {
  return request({
    url: '/api/comment/del',
    method: 'post',
    data
  })
}
